class Comment
  include Mongoid::Document
  field :name, type: String
  field :content, type: String

  embedded_in :blog_post, :inverse_of => :comments
end
